﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Hexa.Core.Domain;

namespace Hexa.QuestionEngine.Domain
{
    [Serializable]
    public class Survey : AuditableEntity<Survey>
    {
        public Survey()
        {
            _surveySections = new List<SurveySection>();
        }

        public virtual Company Company { get; set; }

        public virtual string Name { get; set; }

        public virtual string Instructions { get; set; }

        public virtual string BaseUrl { get; set; }

        public virtual int CompanyId { get; set; }

        public virtual bool IsClosed { get; set; }

        private IList<SurveySection> _surveySections;

        public virtual IList<SurveySection> SurveySections
        {
            get { return _surveySections; }
        }
    }
}
